<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!-- <link rel="stylesheet" href="/css/index.css"> -->
    <link rel="stylesheet" href="/css/category.css">
    <title>分类</title>
</head>
<body>
    <div class="head"></div>    

    <div class="main">

        <ul class="content w1200">
        </ul>

        <script type="text/html" id="cateTemplate">
            {{each list item}}
            <li class=" item">
                    <div class="wrap clearfix">
                        <div class="bigpic">
                                <a href="/html/detail.html?id={{item.id}}" target="_blank">
                                    <img src="{{item.img}}" alt="">
                                </a>
                        </div>
    
                        <div class="smallpic clearfix">
                            <div class="smallbox fl">
                                <a href="/html/detail.html" target="_blank">
                                    <img src="{{item.smallimg}}" alt="">
                                </a>
                            </div>
                        </div>
                    </div>
    
                    <a href="/html/detail.html" class="tit">{{item.tit}}</a>
    
                    <div class="clearfix evaluation">
                        <div class="fl"><i class="num">{{item.evaluation == 0? '暂无评价' : item.evaluation+'+个评价'}}</i></div>
                        <div class="fr"><i class="percent">{{item.percent}}%好评</i></div>
                    </div>
    
                    <p class="val clearfix">
                        <span class="fl price">积分：<i class="socre">{{item.score}}</i></span>
                    </p>
                </li>
                {{/each}}
        
        </script>
    </div>

    <div class="foot"></div>
</body>
<script src="/libs/require/require.min.js" data-main="/js/category.js"></script>
</html>